import { Service } from "~/core/service";
import { NetService } from "~/util/net.service";
import { Inject, Debounce } from "~/core/decorator";
import { serviceCommon } from "~/config/server";

export class DictService extends Service {

  @Inject(NetService)
  private netService: NetService

  getAllDict() {
    return this.netService.send(
      {
        server: serviceCommon.dictController.getAllDict
      }
    )
  }
}